package com.vportal.portlet.vweather.action;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name="city")
@XmlAccessorType(XmlAccessType.PROPERTY)
public class City implements Serializable{

	
	private String name;
	private List<GoldItem> golds;
	
	@XmlAttribute
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	@XmlElement(name="item")
	public List<GoldItem> getGolds() {
		return golds;
	}
	public void setGolds(List<GoldItem> golds) {
		this.golds = golds;
	}
	
	
}
